﻿@{
    ViewBag.Title = "Inloggen";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1 class="title">Inloggen</h1>

@if (Model.HasIssue)
{
    <p>
        <div style="color: #D63301; background-color: #FFCCBA; padding: 15px 10px 15px 50px; margin-top: 10px; margin-bottom: 10px;" >
            @Html.Encode(Model.Message)
        </div>
    </p>
}

<p>
    Vul uw gebruikersnaam en wachtwoord in.
    @Html.ActionLink("Registreer hier", "Register", "StudentRegister")
    indien u nog geen account heeft.
</p>

<br />

@using (Html.BeginForm())
{
    <table>
        <tr>
            <td><label for="username">Email:</label></td>
        </tr>
        <tr>
            <td>@Html.TextBox("email")</td>
        </tr>
        <tr>
            <td><label for="username">Password:</label></td>
        </tr>
        <tr>
            <td>@Html.Password("password")</td>
        </tr>
        <tr>
            <td><input type="submit" id="btnSubmit" value="Login" /></td>
        </tr>
    </table>
}